/*
 * @name: **列表
 * @content: 
 * @Author: joyce
 * @Date: 2020-06-04 11:36:47
 */
var mongoose = require('mongoose');

//资源共享表(resourcelabel)

var resourceSchema = new mongoose.Schema({
    title: {
        type: String,
        required: true
    }, //标题
    index: {
        type: String,
        required: true
    } //索引
})

module.exports = mongoose.model('resourcelabel', resourceSchema)